Fix flatpak devel build bottles-cli functionality#4371
Merged
mirkobrombin merged 4 commits intobottlesdevs:mainfrom Feb 5, 2026
Merged
Fix flatpak devel build bottles-cli functionality#4371mirkobrombin merged 4 commits intobottlesdevs:mainfrom
mirkobrombin merged 4 commits intobottlesdevs:mainfrom
Conversation
Use the APP_ID constant instead, so it's possible to better support devel builds in the future.
Use the APP_ID constant instead, so it's possible to better support devel builds in the future.
Use the APP_ID constant instead, so it's possible to better support devel builds in the future.
Currently, when running flatpak Bottles devel build with bottles cli, the program fails with an error about missing a gschema. This is because there's a discrepancy between the app id and the gschema when running the development build. Fix it by specifying the correct schema name, by setting it to the application id.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When testing #3948 I noticed that running the desktop launchers created from bottles flatpak devel build does not work, and the error mentions missing com.usebottles.bottles.Devel schema. Turns out this is because the desktop entry uses the bottles-cli functionality, and while in most parts of the application the gschema is hard coded to "com.usebottles.bottles", in that particular code the name is derived from the application id.
Related #3948
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.